import {createStore} from 'vuex'
import mitt from 'mitt'

const store = createStore({
    state:{
        personal:null,
        station:null,
        $bus: mitt(),
    },
    mutations:{
        setPersonal(state,info){
            state.personal = info
        },
        setStation(state,newStation){
            state.station = newStation
        }
    }
})


export default store